package de.koller.aframe.util.misc;

public class SwapValue<T> {
	
	private T previous = null;
	private T current = null;
	
	public void push( T value ) {
		previous = current;
		current = value;
	}

	public T getPrevious() {
		return previous;
	}

	public T getCurrent() {
		return current;
	}
	
}
